package tzy.imageloader;

import android.graphics.Bitmap;
import android.widget.ImageView;

/**
 * Created by Administrator on 2017/9/20 0020.
 */

public interface ImageLoader {
    void loadImage(ImageView imageView, String resource, Bitmap empty);

    void loadImage(ImageView imageview, String resource);

    void addBitmapToMemoryCache(String key, Bitmap bitmap);

    Bitmap getBitmapFromMemCache(String key);

    boolean cancleImageViewWork(ImageView imageView);


}
